package com.log.exception;

import lombok.Data;

/**
 * @ClassDescription:
 * @Author: zhaoyi
 * @Created: 2024/7/11 15:19
 */
@Data
public class BizException extends RuntimeException {

    private Integer code;
    private String msg;

    public BizException(Integer code, String message) {
        super(message);
        this.code = code;
        this.msg = message;
    }
}
